""""
from pytest00.base import time_data, te_report
def ass(res,result,*can):
    global first_time, pass_count, fail_count
    t = str(time_data()[1]).replace(":", ".")
    t="测试"
    if res in result:
        text = "pass-%s-执行参数：%s，执行结果：%s\n" % (t, str(can), res)
        pass_count = pass_count + 1
        te_report(text, first_time[0])
    else:
        fail_count = fail_count + 1
        text = "fail-%s-执行参数：%s，实际结果：%s，预期结果：%s\n" % (t, str(can), res, result)
        te_report(text, first_time[0])

"""